home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / gdb / gdb_18s.zoo / environ.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-25  |  615 b   |  24 lines

  1.  
  2. /* We manipulate environments represented as these structures.  */
  3.  
  4. struct environ
  5. {
  6.   /* Number of usable slots allocated in VECTOR.
  7.      VECTOR always has one slot not counted here,
  8.      to hold the terminating zero.  */
  9.   int allocated;
  10.   /* A vector of slots, ALLOCATED + 1 of them.
  11.      The first few slots contain strings "VAR=VALUE"
  12.      and the next one contains zero.
  13.      Then come some unused slots.  */
  14.   char **vector;
  15. };
  16.  
  17. struct environ *make_environ ();
  18. void free_environ ();
  19. void init_environ ();
  20. char *get_in_environ ();
  21. void set_in_environ ();
  22. void unset_in_environ ();
  23. char **environ_vector ();
  24.